package com.zzyl.nursing.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("树形结构VO")
public class TreeVo {
    @ApiModelProperty(value = "菜单名称")
    private String label;
    @ApiModelProperty(value = "菜单ID")
    private String value;
    @ApiModelProperty(value = "子菜单")
    List<TreeVo> children;
}
